uploading interactive twitter bot initital code #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I made this a while back to test functionality on creating an interactive twitter bot using your initial code as a sample. It basically builds on a few of your demos and allows someone to interact with a twitter account and get a generated respond back to that account using the initial tweet as the seed for the text generation. i.e. if on twitter you say "@hemmingway-bot It was a long time" you might a get a respond from @hemmingway-bot to you saying 'It was a long time between drinks, it was obviously time to start a fight.'.
The code is ROUGH, it worked as a demo and then I moved on. It has been sitting around for a while now and I figured I should probably do something with it so putting it back in here in case anyone else was looking for help seemed like the right thing to do.
Next steps would be to build it out so that it works from web hooks, I ran it manually to test it and then stopped, it cost more to run than I would like given that cloud-sql is kinda expensive.